package com.dayuanit.dy17.mix.current;

public class TestThreadStart {
    public static void main(String[] args) {
        Runnable runnable = new Runnable() {
            @Override
            public void run() {
                System.out.println(Thread.currentThread().getName());
            }
        };

        Thread t1 = new Thread(runnable, "t1");
//        t1.start();
        t1.run();

        System.out.println("t1 status=" + t1.getState());

    }
}
